import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'itmp-message-library',
    templateUrl: './message-library.component.html',
    styleUrls: ['./message-library.component.css']
})
export class MessageLibraryComponent implements OnInit {
    selectIndex = 0;
    tabTitle = 'Add';
    tabShow = false;
    selectData: any;
    constructor() {}

    ngOnInit() {}
    openModal(e) {
        this.tabTitle = e;
        this.tabShow = true;
        this.selectIndex = 1;
    }
    closeModal() {
        this.selectIndex = 0;
        this.tabShow = false;
    }
    setSelectData(data) {
        console.log('data');

        this.selectData = data;
    }
}
